home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / libtiff / contrib / dosdjgpp / port.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  572 b   |  30 lines

  1. #ifndef _PORT_
  2. #define _PORT_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <sys/types.h>
  7. typedef unsigned char u_char;
  8. typedef unsigned short u_short;
  9. typedef unsigned int u_int;
  10. typedef unsigned long u_long;
  11.  
  12. #define HOST_FILLORDER FILLORDER_LSB2MSB
  13. #define HOST_BIGENDIAN    0
  14. #include <stdio.h>
  15. #include <unistd.h>
  16. #include <string.h>
  17. #include <stdlib.h>
  18. #include <fcntl.h>
  19. typedef double dblparam_t;
  20. #ifdef __STRICT_ANSI__
  21. #define    INLINE    __inline__
  22. #else
  23. #define    INLINE    inline
  24. #endif
  25. #define GLOBALDATA(TYPE,NAME)    extern TYPE NAME
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif
  30.